/*
 * Position.h
 *
 *  Created on: 05/01/2012
 *      Author: luiz
 */

#ifndef POSITION_H_
#define POSITION_H_

class Position {
public:
	typedef int PositionType;

private:
	PositionType x_;
	PositionType y_;

public:
	Position(PositionType x=0, PositionType y=0);
	virtual ~Position();
	Position(const Position &);
	Position & operator=(const Position &);

	// operator== overload to verify if two positions is equals
	bool operator==(const Position & b);

	bool operator!=(const Position & b);


	/*
	 * Get and Set
	 */

	void set_x(PositionType x);
	const PositionType x() const;

	void set_y(PositionType y);
	const PositionType y() const;



};

#endif /* POSITION_H_ */
